package com.ygqh.baby.service.trustone.model;

public class TokenResult extends ApiResult {

	private Token data;

	public Token getData() {
		return data;
	}

	public String getToken() {
		if (data == null) {
			return null;
		}
		return data.getToken();
	}

	@Override
	public String toString() {
		return "TokenResult [data=" + data + "]";
	}

	public void setData(Token data) {
		this.data = data;
	}

	public class Token {
		private String token;

		public String getToken() {
			return token;
		}

		public void setToken(String token) {
			this.token = token;
		}

	}
}
